class_name ComboViewTypeItem
extends Resource

#region 属性
@export var type_name:String
@export var display_name:String
@export var can_multi_select:bool = false
@export var valid_game_modes:Array[GameEnum.GameMode]
@export var valid_game_states:Array[GameEnum.GameState]
var combo_view:ComboView
#endregion
#region 字段
#endregion
#region 信号
#endregion

#region 基类方法
#endregion
#region 公共方法
func excute(combo_view:ComboView):
	self.combo_view = combo_view
func check_game_mode() -> bool:
	return valid_game_modes.any(func (x):return x == GameManager.game_mode)
func check_game_state() -> bool:
	return valid_game_states.any(func (x):return x == GameManager.get_last_game_state())
#endregion
#region 私有方法
#endregion
#region 生命周期函数
#endregion
